<?php
namespace AppWeb\Controller;
use Think\Controller;
class CommonController extends Controller {
    public function _initialize(){
     empty(session('openid'))?$this->error("您信息异常正在为重新登录",U('User/index'),1):""; 
	}
	 public function _empty($name){
        $this->city($name);
    }
	protected function city($name){
		 $this->display('404:illegal');
      
    }
}